package com.project.grenting.controller;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/role")
public class RoleController {
    @RequestMapping("/roleList")
    @RequiresPermissions("roleList")
    public String roleList() {
        return "role/roleList";
    }
}
